﻿
namespace Marmat.Forms.Views
{
    namespace DataGrid
    {
        public class ColumnEventArgs : Grid.ColumnEventArgs
        {
            internal ColumnEventArgs(BaseGrid BaseGrid, DevExpress.XtraGrid.Views.Base.ColumnEventArgs info) : base(BaseGrid, info)
            {
            }

            public new Forms.DataGrid GridControl
            {
                get
                {
                    return (Forms.DataGrid)base.GridControl;
                }
            }

            public new Column Column
            {
                get
                {
                    return this.GridControl.Columns[base.Column.Name];
                }
            }
        }
    }
}